using System;
using System.Reflection;
using UnityEngine;
using UnityEditor;
using AK.Wwise.Editor;
using AK.Wwise.TreeView;

namespace AudioStudio.Editor
{
	[CustomPropertyDrawer(typeof(AudioEvent))]
	public class AudioEventDrawer : BaseTypeDrawer
    {
        protected override WwiseObjectType WwiseObjectType { get { return WwiseObjectType.Event; } }

        protected override void OnPickerChanged(UnityEditor.SerializedProperty property, AK.Wwise.TreeView.TreeViewItem treeItem)
        {
            PickerChanged(property, treeItem);
        }
    }
}